/* 
 * File:   poisson.h
 * Author: boyan
 *
 * Created on December 13, 2007, 5:28 PM
 */

#ifndef _POISSON_H
#define	_POISSON_H

#include "glodef.h"
#include "grid3d.h"
#include "vecs.h"

#ifdef	__cplusplus
extern "C" {
#endif

    void ReassemblePoisson(void *pdata);
    void *InitPoisson(grid3d_t *grid, unsigned eltype);
    void DonePoisson(void *pdata);
    int  SolvePoisson(void *pdata, scalar U, scalar F, scalar T,
            unsigned F_tested, unsigned reassemble);



#ifdef	__cplusplus
}
#endif

#endif	/* _POISSON_H */

